<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Admin panel</title>
	<link rel="icon" href="/favicon.ico" type="image/ico">
	<link rel="stylesheet" type="text/css" href="/public/admin/css/style.css">
	<link rel="stylesheet" type="text/css" href="/public/datetimepicker/jquery.datetimepicker.css">
	<script type="text/javascript" src="/public/admin/js/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="/public/admin/js/jquery.bpopup.js"></script>
	<script type="text/javascript" language="javascript" src="/public/admin/js/admin_js.js"></script>
	<script type="text/javascript" language="javascript" src="/public/datetimepicker/jquery.datetimepicker.js"></script>

</head>
<body>
	<!-- BEGIN #HEADER -->
	<?php $this->load->view("layouts/header");?>
	<!-- END #HEADER -->
	<!-- BEGIN #CONTAINER -->
	<div id="container" class="wrap">
		<!-- BEGIN #MENU -->
		<?php $this->load->view("layouts/menu");?>
		<!-- END #MENU -->
		<!-- BEGIN #CONTENT -->
		<div id="content">
			<?php if(isset($template)) $this->load->view($template,$this->_data);?>
		</div>
		<!-- END #CONTENT -->
		<div class="clear"></div>
	</div>
	<!-- END #CONTENT -->	
	<!-- BEGIN #FOOTER -->
	<?php $this->load->view("layouts/footer.php");?>
	<!-- END #FOOTER -->
</body>
</html>